﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Automation;

namespace LEET.CommonInterfaces.Automation
{
    public interface IRegistryAccessor
    {
        void RegisterEventHandler(AutomationEvent eventType, AutomationElement element, AutomationEventHandler handler);
        void RemoveEventHandler(AutomationEvent eventType, AutomationElement element, AutomationEventHandler handler);

        void RegisterEventHandler(AutomationProperty eventType, AutomationElement element, AutomationPropertyChangedEventHandler handler);
        void RemoveEventHandler(AutomationProperty eventType, AutomationElement element, AutomationPropertyChangedEventHandler handler);

        void RegisterEventHandler(AutomationElement element, StructureChangedEventHandler handler);
        void RemoveEventHandler(AutomationElement element, StructureChangedEventHandler handler);
    }
}
